<?php if (!defined('THINK_PATH')) exit();?><div class="pageContent">
    <form method="post" action="/Admin/Advers/update/" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
        <input type="hidden" name="id" value="<?php echo ($dataInfo['id']); ?>" />
        <div class="pageFormContent" layoutH="68">
            <div class="unit">
                <label>标　　题：</label>
                <input type="text" name="name" value="<?php echo ($dataInfo['name']); ?>" class="required" />
            </div>
			<div class="unit">
                <label>封面图：</label>
                <input type="hidden" name="img_url" value="<?php echo ($dataInfo['img_url']); ?>"/>
                <input type="file" name="uploadify" id="img_url" class="uploadify" />
                <div class="picture oneImage">
                	<?php if($dataInfo['img_url'] != ''): ?><img src="<?php echo ($dataInfo['img_url']); ?>" height="100" /><?php endif; ?>
                </div>
            </div>
            <div class="unit">
                <label>排　　序：</label>
                <input type="text" name="sort" value="<?php echo ($dataInfo['sort']); ?>" />
            </div>
			<div class="unit">
                <label>链接地址：</label>
                <input type="text" name="url" value="<?php echo ($dataInfo['url']); ?>" />
            </div>
        </div>
        <div class="formBar">
            <ul>
                     <li>
                        <div class="buttonSave">
                            <div class="buttonSaveContent">
                                <button type="submit">
                            		<i class="iconfont">&#xe644;</i>保存
                                </button>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="buttonCancel">
                            <div class="buttonCancelContent">
                                <button type="button" class="close">
                                	<i class="iconfont">&#xe640;</i>取消
                                </button>
                            </div>
                        </div>
                    </li>
            </ul>
        </div>
    </form>
</div>